﻿﻿<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5shiv.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/static/h-ui.admin/css/style.css" />

    <!--控制 input框 宽度-->
    <style type="text/css">
        .tabwidth{
            width:30px;
        }
        textarea{
            resize:none;
            width:400px;
            height:100px;
        }
    </style>
    <!--[if IE 6]>
    <script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>查看月报</title>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>  耗材管理<span class="c-gray en">&gt;</span> 查看月报<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
        <!--隐藏的耗材展示框-->
        <div class="" style="display:none;">;
            <image src="__PUBLIC__/image/test.jpg" style="width:300px;">
        </div>
        <!--隐藏的耗材展示框-->
<form action="{:U('Order/monthly')}" method="post">
    <div class="page-container">
        <a href="#" class="btn btn-primary radius">导出为Excel表格</a>
        <a href="#" class="btn btn-danger radius">全部领用</a>
        <div class="text-c"> 月报时间：
            <input id="datemin" class="input-text Wdate" style="width:120px;" name="ym" placeholder="201701" type="text" value="{$ym.ym}">
            <button type="submit" class="btn btn-success radius" id="" name=""><i class="Hui-iconfont">&#xe665;</i>查看</button>
        </div>
        <div class="mt-20">
            <h2 class="text-c">{:C('NSH')}{$ym.yy}年{$ym.mm}月&nbsp;耗材领取一览表</h2>
            <table class="table table-border table-bordered table-hover table-bg table-sort" style="margin-top: 20px;">
                <thead>
                <tr class="text-c">
                    <th width="7%">机构名称</th>
                    <!--遍历耗材名称-->
                    <volist name="goodsList" id="vo">
                        <th width="30">{$vo.goodsname}</th>
                    </volist>
                    <!-- end 遍历耗材名称-->
                    <th width="6%">结算金额</th>
                    <th width="5%">操作</th>
                </tr>
<!--                 <tr class="text-c">
    <td>上月库存</td>
    <td>
    </td>
</tr> -->
                    <tr class="text-c">
                        <td>本月入库</td>
                        <volist name="stroage.goodsList" id="num">
                            <td>{$num.num}</td>
                        </volist> 
                        <td></td>
                        <td></td> 
                    </tr>
                
                <tr class="text-c">
                    <td width="7%">单价</td>
                    <volist name="goodsList" id="vo">
                        <td width="30">{$vo.price}</td>
                    </volist>
                    <td></td>
                    <td></td>
                </tr>
                </thead>

                <volist name="orderList" id="order">
                    <tr class="text-c">
                        <td style="background-color: #d6faf2">{$order.branchname}</td>
                        <!--遍历上报数量-->
                        <volist name="order.goodsList" id="vo">
                            <td>{$vo.num}</td>
                        </volist>
                        <td>{$order.totalAll}</td>

                        <td rowspan="3">
                            <if condition="$order.status eq 1 ">
                                <button class="btn btn-success radius size-MINI" type="button">已领用</button>
                            <else/>
                                <button class="btn btn-danger radius size-MINI" type="button">未领用</button>
                            </if>
                        </td>
                    </tr>
                    </tbody>
                </volist>
                <!--<tr>
                    <td>小计</td>
                    <td></td>
                </tr>
                 <tr>
    <td>本月库存</td>
    <td></td>
</tr> -->
            </table>
        </div>

        <div class="text-c">
            <button type="submit" class="btn btn-success radius" name="up"><i class="Hui-iconfont">&#xe678;</i>上一月</button>
            <button type="submit" class="btn btn-success radius" name="down">下一月<i class="Hui-iconfont">&#xe67a;</i></button>
        </div>
    </div>
</form>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__PUBLIC__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->

<script type="text/javascript">

</script>
</body>
</html>